package com.jhws.sys.cms.bo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 内容资源分类
 *
 * @author xiaokek
 * @since 2016年12月3日 上午10:45:12
 */
@Table(name = "cms_resource_type")
@Entity
public class ResourceType implements Serializable {

    @Id
    private String type_id;// id
    private String parent_code;// 父分类code
    private String type_code;// 分类编码
    private String type_name;// 分类名称
    private String minConut; //最小数量
    private String maxConut; //最大数量
    private Integer sortEncoding; //排序编码
    private String description; //描述
    private String remark;// 描述备注
    private Integer order_no;// 排序号
    private String creator;// 创建人
    private Date create_time;// 创建时间
    private String customContentId;//自定义数据内容
    private String customPropertyId; //自定义共有属性
    private String customPropertyPrivateId; //自定义私有属性
    private String customProperty;//自定义属性
    private String resourceType;//自定义资源类型

    public String getType_id() {
        return type_id;
    }

    public void setType_id(String type_id) {
        this.type_id = type_id;
    }

    public String getParent_code() {
        return parent_code;
    }

    public void setParent_code(String parent_code) {
        this.parent_code = parent_code;
    }

    public String getType_code() {
        return type_code;
    }

    public void setType_code(String type_code) {
        this.type_code = type_code;
    }

    public String getType_name() {
        return type_name;
    }

    public void setType_name(String type_name) {
        this.type_name = type_name;
    }

    public String getMinConut() {
        return minConut;
    }

    public void setMinConut(String minConut) {
        this.minConut = minConut;
    }

    public String getMaxConut() {
        return maxConut;
    }

    public void setMaxConut(String maxConut) {
        this.maxConut = maxConut;
    }

    public Integer getSortEncoding() {
        return sortEncoding;
    }

    public void setSortEncoding(Integer sortEncoding) {
        this.sortEncoding = sortEncoding;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getOrder_no() {
        return order_no;
    }

    public void setOrder_no(Integer order_no) {
        this.order_no = order_no;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCustomContentId() {
        return customContentId;
    }

    public void setCustomContentId(String customContentId) {
        this.customContentId = customContentId;
    }

    public String getCustomPropertyPrivateId() {
        return customPropertyPrivateId;
    }

    public void setCustomPropertyPrivateId(String customPropertyPrivateId) {
        this.customPropertyPrivateId = customPropertyPrivateId;
    }

    public String getCustomPropertyId() {
        return customPropertyId;
    }

    public void setCustomPropertyId(String customPropertyId) {
        this.customPropertyId = customPropertyId;
    }

    public String getCustomProperty() {
        return customProperty;
    }

    public void setCustomProperty(String customProperty) {
        this.customProperty = customProperty;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    @Override
    public String toString() {
        return "ResourceType{" +
                "type_id='" + type_id + '\'' +
                ", parent_code='" + parent_code + '\'' +
                ", type_code='" + type_code + '\'' +
                ", type_name='" + type_name + '\'' +
                ", minConut='" + minConut + '\'' +
                ", maxConut='" + maxConut + '\'' +
                ", sortEncoding=" + sortEncoding +
                ", description='" + description + '\'' +
                ", remark='" + remark + '\'' +
                ", order_no=" + order_no +
                ", creator='" + creator + '\'' +
                ", create_time=" + create_time +
                ", customContentId='" + customContentId + '\'' +
                ", customPropertyId='" + customPropertyId + '\'' +
                ", customPropertyPrivateId='" + customPropertyPrivateId + '\'' +
                ", customProperty='" + customProperty + '\'' +
                ", resourceType='" + resourceType + '\'' +
                '}';
    }
}